package com.wp.design.structural.decorator.v2;
/**香肠的装饰者类*/
public class MeatDecorator extends AbstractDecorator {
	public MeatDecorator(AbstractBattercake abstractBattercake) {
		super(abstractBattercake);
	}

	@Override
	protected String getDesc() {
		return super.getDesc()+"加一根香肠";
	}

	@Override
	protected int cost() {
		return super.cost() +2;
	}
}
